package org.dtrd.modules.organization.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import org.dtrd.modules.organization.entity.bean.DoctorOrganizationDetail;
import org.dtrd.modules.organization.entity.bean.DoctorOrganizationListInfo;
import org.dtrd.modules.organization.entity.po.DtrdRlDoctorOrganization;
import org.dtrd.modules.organization.entity.request.DoctorOrganizationListRequest;
import org.dtrd.modules.organization.entity.request.DoctorOrganizationPageRequest;

import java.util.List;

/**
 * <p>
 * 机构和医生关系表服务类
 * </p>
 *
 * @author QR
 * @since 2021-12-14
 */
public interface IDtrdRlDoctorOrganizationService extends IService<DtrdRlDoctorOrganization> {

    List<DoctorOrganizationListInfo> getDoctorOrganizationList(DoctorOrganizationListRequest request);

    IPage<DoctorOrganizationListInfo> pageDoctorOrganization(DoctorOrganizationPageRequest request);

    DoctorOrganizationDetail getDoctorOrganization(Integer dataId);

    boolean saveOrUpdateDoctorOrganization(DoctorOrganizationDetail dto);

    boolean removeDoctorOrganization(Integer dataId);

    List<String> getDoctorRlOrgCode(Integer doctorId);
}
